<?php
require_once('include/MVC/View/views/view.edit.php');

class DocumentRevisionsViewEdit extends ViewEdit
{
    function preDisplay()
    {
       if($_REQUEST['return_module'] != 'Documents')
       {
          $this->bean->document_id = $_REQUEST['document_id'];
       }
         
       parent::preDisplay();
    }
} 
?>
